@charset "utf-8";
:root {
    --bdcolor: #3a1663;
    --linearBgc: linear-gradient(to bottom, rgba(42, 8, 69,1), rgba(100, 65, 165,1));
}

.layui-iconpicker {
    max-width: 280px;
}

.layui-iconpicker .layui-anim {
    display: none;
    position: absolute;
    left: 0;
    top: 42px;
    padding: 5px 0;
    z-index: 899;
    min-width: 100%;
    border: 1px solid var(--bdcolor);
    max-height: 300px;
    overflow-y: auto;
    background: var(--linearBgc);
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .12);
    box-sizing: border-box;
}

.layui-iconpicker-item {
    border: 1px solid var(--bdcolor);
    width: 190px;
    height: 38px;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
}

.layui-iconpicker-icon {
    border-right: 1px solid var(--bdcolor);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    width: 160px;
    height: 100%;
    float: left;
    text-align: center;
    background: var(--linearBgc);
    transition: all .3s;
}

.layui-iconpicker-icon i {
    line-height: 38px;
    font-size: 18px;
}

.layui-iconpicker-item:hover {
    border-color: #a279ea !important;
}

.layui-iconpicker-item:hover .layui-iconpicker-icon {
    border-color: #673AB7 !important;
}

.layui-iconpicker.layui-form-selected .layui-anim {
    display: block;
}

.layui-iconpicker-body {
    padding: 6px;
}

.layui-iconpicker .layui-iconpicker-list {
    /*background-color: #fff;*/
    border: 1px solid var(--bdcolor);
    border-radius: 4px;
}

.layui-iconpicker .layui-iconpicker-icon-item {
    display: inline-block;
    width: calc(25% - 10px);
    line-height: 36px;
    text-align: center;
    cursor: pointer;
    vertical-align: top;
    height: 36px;
    margin: 4px;
    border: 1px solid var(--bdcolor);
    border-radius: 2px;
    transition: 300ms;
}

.layui-iconpicker .layui-iconpicker-icon-item i.layui-icon {
    font-size: 17px;
}

.layui-iconpicker .layui-iconpicker-icon-item:hover {
    /*background-color: #eee;*/
    border-color: #ccc;
    -webkit-box-shadow: 0 0 2px #aaa, 0 0 2px #fff inset;
    -moz-box-shadow: 0 0 2px #aaa, 0 0 2px #fff inset;
    box-shadow: 0 0 2px #aaa, 0 0 2px #fff inset;
    text-shadow: 0 0 1px #fff;
}

.layui-iconpicker-search {
    position: relative;
    margin: 0 0 6px 0;
    border: 1px solid #673AB7;
    border-radius: 2px;
    transition: 300ms;
}

.layui-iconpicker-search:hover {
    border-color: #D2D2D2 !important;
}

.layui-iconpicker-search .layui-input {
    cursor: text;
    display: inline-block;
    width: 86%;
    border: none;
    padding-right: 0;
    margin-top: 1px;
}

.layui-iconpicker-search .layui-icon {
    position: absolute;
    top: 11px;
    right: 4%;
}

.layui-iconpicker-tips {
    text-align: center;
    padding: 8px 0;
    cursor: not-allowed;
}

.layui-iconpicker-page {
    margin-top: 6px;
    margin-bottom: -6px;
    font-size: 12px;
    padding: 0 2px;
}

.layui-iconpicker-page-count {
    display: inline-block;
}

.layui-iconpicker-page-operate {
    display: inline-block;
    float: right;
    cursor: default;
}

.layui-iconpicker-page-operate .layui-icon {
    font-size: 12px;
    cursor: pointer;
}

.layui-iconpicker-body-page .layui-iconpicker-icon-limit {
    display: none;
}

.layui-iconpicker-body-page .layui-iconpicker-icon-limit:first-child {
    display: block;
}
